package com.zlsy.springbootdemo.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author zhouliang
 * @date 2021/1/23 11:17
 */
@Slf4j
@RestController
public class TestController {
  @RequestMapping("/test")
  public void test(@RequestBody TestRequest request) {
    System.out.println(request.getLogisticCompany());
  }
}
